package com.flower.salary.service;

import com.flower.salary.domain.bo.AddUserBO;
import com.flower.salary.domain.bo.UserBanBO;
import com.flower.salary.domain.entity.SysUser;
import com.flower.salary.domain.vo.ListUserVO;
import com.flower.salary.domain.vo.SysUserVO;
import com.flower.salary.domain.vo.UserInfoVO;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2023-12-20 21:32
 */
public interface SysUserService {

    String logon(String username,String password);

    SysUserVO info(String token);

    UserInfoVO userInfo(String token);




    List<ListUserVO> selectList();

    int ban(UserBanBO bo);

    int editPassword(String token,String password);


    int updateUserInfo(UserInfoVO vo);


    int addUser(AddUserBO bo);


    int checkUserNameUnique(String username);


}
